package com.nanjia.boot.product.spec.value.model.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 规格值视图对象
 *
 * @author 周洋
 * @since 2025-07-09 17:16
 */
@Getter
@Setter
@Schema( description = "规格值视图对象")
public class SpecValueVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "规格值ID")
    private Long id;
    @Schema(description = "所属规格组ID")
    private Long specGroupId;
    @Schema(description = "规格值名称(如:红色/S码)")
    private String valueName;
    private LocalDateTime createTime;

    private Long categoryId;

    private String groupName;
}
